package org.yawnage.base
{
	
	/**
	 * ...
	 * @author Berry Jordaan
	 */
	public class BaseClass extends Debug
	{
		private var classname	:String; 	//Only the Name of the class
		public var classPath	:String; 	//Fully qualified class path
		
		/**
		 *
		 * @param	className
		 */
		public function BaseClass()
		{
			super();
			setClassDescription("org.yawnage.baseClass");
			
		}
		
		/**
		 *
		 * @param	classname
		 */
		public function setClassDescription(className:String):void
		{
			classPath = className;
			var strA:Array = [];
			strA = className.split(".");
			classname = strA[strA.length - 1];
		}
		
		/**
		 *
		 * @return
		 */
		public function qualifyPath():String
		{
			return classPath;
		}
		
		/**
		 *
		 * @return
		 */
		public function getClassName():String
		{
			return classname;
		}
		
		/**
		 *
		 * @return
		 */
		public function toString():String
		{
			return "[" + classPath + "]";
		}

		/* Abstract method that you need to override. */
		public function dispose():void {}
		
		
	
	}

}